package com.demo.security.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.demo.security.model.SysUser;

import java.util.List;

public interface UserService extends IService<SysUser> {

    List<SysUser> getUser();

    SysUser getUserByName(String name);

    SysUser getUserByCode(String userCode);

    String  getCurrentUserCode();

    String getLoginName(String userCode);

}
